package com.nut.article.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nut.article.common.BaseEntity;
import lombok.Data;

import java.util.List;

@Data
public class ArticleVo extends BaseEntity {

    private Integer id;

    //父类目ID
    private Integer categoryId;

    //类目名称
    private String categoryName;

    //标题
    private String title;

    //缩略图
    private String img;

    //摘要
    private String summary;

    //下载次数
    private String downTimes;

    //标签 标签名,标签名
    @TableField(exist = false)
    private List<Tag> tags;

    //标签 tagIds
    @TableField(exist = false)
    private String[] tagIds;

    //浏览次数
    private Integer browse;

    //作者
    private String author;

    //填充模式 0拉伸填充 1原比例缩放
    private Integer mode;

}
